package cup.com.icss.dao;

import cup.com.icss.model.WaterElectricity;
import cup.com.icss.model.WaterElectricityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WaterElectricityMapper {
    int countByExample(WaterElectricityExample example);

    int deleteByExample(WaterElectricityExample example);

    int deleteByPrimaryKey(String id);

    int insert(WaterElectricity record);

    int insertSelective(WaterElectricity record);

    List<WaterElectricity> selectByExample(WaterElectricityExample example);

    WaterElectricity selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") WaterElectricity record, @Param("example") WaterElectricityExample example);

    int updateByExample(@Param("record") WaterElectricity record, @Param("example") WaterElectricityExample example);

    int updateByPrimaryKeySelective(WaterElectricity record);

    int updateByPrimaryKey(WaterElectricity record);
    
    List<WaterElectricity> waterElectricityList(@Param("start") int pageNum,@Param("end") int pageSize,@Param("t") WaterElectricity record);
    
    List<WaterElectricity> waterElectricityListSize(WaterElectricity record);
}